<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="packageDetailAvailable.title"/></title>
    <meta name="heading" content="<fmt:message key='materialsAvailable.heading'/>"/>
    <meta name="menu" content="RoleAdminCut"/>

</head>
<div id="help">
    <h2>
        <a href="<c:url value='helpAddMaterialUsedDressMaker.html?decorate=false'/>"
           title="Help material purchase"
           onclick="Modalbox.show(this.href, {title: this.title, width: 600}); return false;">
               <fmt:message key="help"/>
        </a>
    </h2>
</div>
<table>
    <tr>

    <td>
         <fieldset>
            <legend><fmt:message key="currentCut.currentCut"/></legend>
            <table class="tableGrey" id="currentCut" >
            <thead>
                <tr>
                    <th class="hidden"/>
                    <th><fmt:message key="processDressmaker.id"/></th>
                    <th><fmt:message key="processDressmaker.initDate"/></th>
                    <th><fmt:message key="processDressmaker.endDate"/></th>
                    <th><fmt:message key="processDressmaker.employee.fullName"/></th>
                    <th class="hidden"/>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td><s:property id="processDressmaker.id" value="processDressmaker.id"/></td>
                    <td><s:property id="processDressmaker.initDate" value="processDressmaker.initDate"/></td>
                    <td><s:property id="processDressmaker.endDate" value="processDressmaker.endDate"/></td>
                    <td><s:property id="processDressmaker.employee.fullName" value="processDressmaker.employee.fullName"/></td>
                </tr>
            </tbody>
            </table>
        </fieldset>
    </td></tr>
</table>

<input type="button" onclick="location.href='<c:url value="/editProcessDressmakerReview.html"/>'"
           value="<fmt:message key="button.done"/>"/>

<display:table name="storageMaterialList" class="table" id="storageMaterialList" export="false" requestURI="" pagesize="10">

    <display:column titleKey="packageDetail.modifie" href="getDatasMaterialDressmaker.html" paramId="id"
                    paramProperty="id">
        <fmt:message key="packageDetail.modifie"/>
    </display:column>
    <display:column property="material.name" sortable="true" titleKey="packageDetail.code"/>
    <display:column property="stock" sortable="true" titleKey="packageDetail.stock"/>

</display:table>
